#pragma once
#include "List.h"
#include "Person.h"

template<class INFO>
class PersonList :
	public List<INFO>
{
public:
	PersonList()
	{
	}

	PersonList(const PersonList& list)
	{
		Node<INFO> *n = list.head;
		while (n != nullptr)
		{
			this->add_at_head(n->info);
			n = n->next;
		}
	}


	virtual ~PersonList()
	{
	}
};